package com.journalshow.backend.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("journal")
public class Journal {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField
    private Photo cover;

    @TableField
    private List<Photo> photoAlbums;

    @TableField
    private String describe;
}
